package com.qf.admin.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.admin.domain.Orders;
import com.qf.admin.pojo.QueryOrder;
import com.qf.pojo.ProcessLog;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {

    List<Orders> getAllOrder(QueryOrder queryOrder);

    Orders getOrderUserById(@Param("id") Integer id);

    List<Orders> getUserAddress(@Param("id") Integer id);

    void updateAddress(@Param("aid") Integer aid,@Param("uid") Integer uid);


   List<ProcessLog> getProcessLog(Integer offset, Integer limit);
}
